package com.ciis.system.scrite.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-4-25
 * Time: 上午8:52
 * To change this template use File | Settings | File Templates.
 * 用于设置自定义的数据转化类型
 */
@Controller
public class WebInitController {

    @InitBinder
    public void initBinder(WebDataBinder dataBinder)throws Exception{
        System.out.println("begin init data binder!");
    }
}
